package org.shj.pattern.builder

import scala.collection.mutable.ArrayBuffer

class Product {
  val parts = ArrayBuffer[String]()
  
  def addPart(part: String) {
    parts += part
  }
  
  def show = {
    parts.foreach(part => print(part + ", "))
    println
  }
}